(vc-call): Add doc string.
authorJason Rumney <jasonr@gnu.org>
Mon, 6 Aug 2007 11:03:35 +0000 (11:03 +0000)
committerJason Rumney <jasonr@gnu.org>
Mon, 6 Aug 2007 11:03:35 +0000 (11:03 +0000)
lisp/vc-hooks.el

index 09001e59691720e140de03767e3c13b1e1fe7725..d38bc00046548089426bce1e9ecaf0bbc891b7b0 100644 (file)
@@ -279,7 +279,10 @@ It is usually called via the `vc-call' macro."
      (t                (apply f args)))))
 
 (defmacro vc-call (fun file &rest args)
-  ;; BEWARE!! `file' is evaluated twice!!
+  "A convenience macro for calling VC backend functions.
+Functions called by this macro must accept FILE as the first argument.
+ARGS specifies any additional arguments. FUN should be unquoted.
+BEWARE!! `file' is evaluated twice!!"
   `(vc-call-backend (vc-backend ,file) ',fun ,file ,@args))
 \f
 (defsubst vc-parse-buffer (pattern i)